import request from '@/config/axios'

// 获得列表
export const getSectionList = (params: any) => {
  return request.get({ url: '/community/topic/plate/list', params })
}
// 创建信息
export const createSection = (data: any) => {
  return request.post({ url: '/community/topic/plate/create', data })
}
// 获取信息
export const getSection = (id: any) => {
  return request.get({ url: `/community/topic/plate/${id}` })
}
// 修改信息
export const updateSection = (data: any) => {
  return request.put({ url: '/community/topic/plate/update', data })
}
// 删除信息
export const deleteSection = (id: any) => {
  return request.delete({ url: `/community/topic/plate/${id}` })
}
